export const getToken = () => {
	return uni.getStorageSync('token')
}

export const setToken = (token) => {
	if (!!token)
		uni.setStorageSync('token', token)
}

export const getLoginUser = () => {
	uni.getStorageSync('loginUser')
}

export const setLoginUser = (loginUser) => {
	if (!!loginUser) {
		uni.setStorageSync('loginUser', loginUser)
	}
}